package com.dingwen.treasure.gateway.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.Configuration;

import java.util.Set;

/**
 * 路径模式配置
 *
 * @author dingwen
 * @date 2022/03/27
 */
@Data
@Configuration(proxyBeanMethods = false)
@ConfigurationProperties(prefix = "path-pattern")
@RefreshScope
public class PathPatternConfig {
    /**
     * 忽略配置
     */
    private Set<String> ignores;
}
